<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>2024092401</title>
    <style>
        img{
            height: 96%;
            width: 96%;
            border-radius: 3%;
        }
        a{
            color: black;
            text-decoration: none;
        }
        form{
            width: 96%;
            height: 96%;
        }
        .center{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .f{float: left;}
        .sf ul{
            width: 100%;
            height: 100%;
        }
        .sf ul li{
            float: left;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 15%;
            height: 100%;
        }
        span{
            font-weight: bold;
        }
        li{
            list-style: none;
        }
        .div1{
            width: 1200px;
            height: 600px;
        }
        .div2{
            width: 98%;
            height: 8%;
            margin: 2%;
        }
        .div3{
            width: 98%;
            height: 80%;
        }
        .dul{
            width: 75%;
            height: 98%;
        }
        .dul li{
            width: 98%;
            height: 18%;
            margin: 1%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .dul li:hover{
            overflow:visible;
            text-overflow:clip;
            white-space: wrap;
            height: auto;
        }
        .div4{
            width: 23%;
            height: 98%;
        }
        .div5{
            width: 75%;
            height: 100%;
        }
        .div6{
            width: 93%;
            height: 8%;
        }
        .div7{
            width: 98%;
            height: 92%;
        }
        .div8{
            width: 32%;
            height: 98%;
        }
        .div9{
            width: 98%;
            height: 48%;
        }
        .div10{
            width: 48%;
            height: 98%;
        }
        .bg1{
            background: #eee;
            border-radius: 2%;
            margin: 1%;
        }
        .fl{
            border-left: #999 2px solid;
        }
        .bgr{
            background: red;
            color: #fff;
            border-radius: 10%;
        }
        .cr{
            text-align: center;
        }
        .cr span{
            color: red;
        }
        .text{
            width:80%;
            height: 60%;
            border-radius: 10px;
            border-color: red;
        }
        .btn{
            width: 20%;
            height: 60%;
            margin: -21%;
            border-radius: 10px;
            border-color: red;
            background: red;
            color: #fff;
            font-weight: bold;
            font-size: 80%;
        }
    </style>
</head>
<body class="center">
<div class="div1">
    <div class="div2">
        <div class="f cr div4">
            <span style="font-size: 40px">淘宝</span><br>
            <span>Taobao.com</span>
        </div>
        <div class="f div5">
            <form action="#">
                <label><input class="text" type="text" placeholder="搜索"></label>
                <input class="btn" type="button" value="搜索">
            </form>
        </div>
    </div>
    <div class="div3">
        <div class="f div4 bg1">
            <div class="div2">
                <span>分类<span class="bgr">NEW</span></span>
            </div>
            <div class="div3">
                <ul class="dul">
                    <li>电脑 / 办公 / 文具</li>
                    <li>电脑 / 办公 / 文具</li>
                    <li>电脑 / 办公 / 文具</li>
                    <li>电脑 / 办公 / 文具</li>
                    <li>电脑 / 办公 / 文具</li>
                </ul>
            </div>
        </div>
        <div class="f div5">
            <div class="sf div6 bg1 cr">
                <ul>
                    <li><span>天猫</span></li>
                    <li class="fl"><span>淘宝直播</span></li>
                    <li class="fl"><span>淘宝企业购</span></li>
                    <li class="fl"><span>司法拍卖</span></li>
                    <li class="fl"><span>天猫超市</span></li>
                    <li class="fl"><span>咸鱼集市 </span></li>
                </ul>
            </div>
            <div class="div7">
                <div class="f div8">
                    <a href="#">
                        <img src="../img/092401.jpg" alt="" id="img">
                    </a>
                </div>
                <div class="f div8">
                    <div class="div9 bg1">
                        <a href="#">
                            <div>
                                <span>百亿补贴.买贵必赔</span>
                                <span class="bgr">限时秒</span>><br>
                            </div>
                        </a>
                    </div>
                    <div class="div9">
                        <div class="div10 f bg1">
                        <a href="#"><span>淘工厂</span> ></a>
                        </div>
                        <div class="div10 f bg1">
                        <a href="#"><span>低价专区</span> ></a>
                        </div>
                    </div>
                </div>
                <div class="f div8">
                    <div class="div9 bg1">
                    <a href="#">
                            <span>淘江湖</span>
                            <span class="bgr">人气热帖</span>>
                    </a>
                    </div>
                    <div class="div9 bg1">
                    <a href="#">
                            <span>淘宝直播</span>
                            <span class="bgr">红包雨</span>>
                    </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    let counter = 1;
    setInterval(function () {
        let img = document.getElementById('img');
        img.src = "../img/09240" + (counter % 5 + 1) + ".jpg";
        counter++;
    }, 3000);
</script>
</body>
</html>